package com.xing.designmode;

import java.util.List;

import com.xing.model.HsdDataResult;
import com.xing.model.HsdModelAnswer;
import com.xing.model.HsdModelQuestion;

import android.content.Context;
import android.os.Handler;
import android.view.View;
import android.widget.LinearLayout;

public class QuestionAnswer {
	
	protected Context context;
	
	protected View view;
	
	protected String currentQuestionuuid;
	
	protected String researchuuid;
	
	protected String surveyuuid;
	
	protected Handler dealAnswerResultHandler;
	/**
	 * 问卷问题标题
	 */
	protected HsdModelQuestion hsdModelQuestion;
	/**
	 * 问题的已选答案list
	 */
	protected List<HsdDataResult> currrentSelectedHsdDataResultList;
	
	protected List<HsdModelAnswer> currentAnswerModelObjectList;
	
	protected LinearLayout answerParentLayout;
	/**
	 * 当前题被操作的标识
	 */
	protected String opFlag;
	
	
	public String getOpFlag() {
		return opFlag;
	}

	public void setOpFlag(String opFlag) {
		this.opFlag = opFlag;
	}

	public View getAnswerParentLayout() {
		return answerParentLayout;
	}

	public void setAnswerParentLayout(LinearLayout answerParentLayout) {
		this.answerParentLayout = answerParentLayout;
	}
	
	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

	public View getView() {
		return view;
	}

	public void setView(View view) {
		this.view = view;
	}

	
	public String getResearchuuid() {
		return researchuuid;
	}

	public void setResearchuuid(String researchuuid) {
		this.researchuuid = researchuuid;
	}

	public String getSurveyuuid() {
		return surveyuuid;
	}

	public void setSurveyuuid(String surveyuuid) {
		this.surveyuuid = surveyuuid;
	}

	public Handler getDealAnswerResultHandler() {
		return dealAnswerResultHandler;
	}

	public void setDealAnswerResultHandler(Handler dealAnswerResultHandler) {
		this.dealAnswerResultHandler = dealAnswerResultHandler;
	}

	public List<HsdDataResult> getCurrrentSelectedHsdDataResultList() {
		return currrentSelectedHsdDataResultList;
	}

	public void setCurrrentSelectedHsdDataResultList(
			List<HsdDataResult> currrentSelectedHsdDataResultList) {
		this.currrentSelectedHsdDataResultList = currrentSelectedHsdDataResultList;
	}

	public List<HsdModelAnswer> getCurrentAnswerModelObjectList() {
		return currentAnswerModelObjectList;
	}

	public void setCurrentAnswerModelObjectList(
			List<HsdModelAnswer> currentAnswerModelObjectList) {
		this.currentAnswerModelObjectList = currentAnswerModelObjectList;
	}

	public String getCurrentQuestionuuid() {
		return currentQuestionuuid;
	}

	public void setCurrentQuestionuuid(String currentQuestionuuid) {
		this.currentQuestionuuid = currentQuestionuuid;
	}
	
	public void showAnswer(){
		
	}
	
    public void showAnswer(HsdModelQuestion hsdModelQuestion){
		
	}
	
	public boolean isHasResult(){
		return false;
	}
}
